//
//  SendTableViewCell.m
//  ZYShang
//
//  Created by wangguangming on 15/8/10.
//  Copyright © 2015年 Amber. All rights reserved.
//

#import "SendTableViewCell.h"

@implementation SendTableViewCell
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self)
        {
        [self addallviews];
        }
    return self;
}
-(void)addallviews
{
    self.typeLaber=[[UILabel alloc] initWithFrame:CGRectMake(5, 5, WIDTH-10, 40)];
    self.senderLaber=[[UILabel alloc] initWithFrame:CGRectMake(5, 45, WIDTH-10, 30)];
    self.numberLaber=[[UILabel alloc] initWithFrame:CGRectMake(5, 75, WIDTH-10, 30)];
    self.itemLaber=[[UILabel alloc] initWithFrame:CGRectMake(5, 105, WIDTH-10, 30)];
    self.beginLaber=[[UILabel alloc] initWithFrame:CGRectMake(5, 135, WIDTH-10, 30)];
    self.endLaber=[[UILabel alloc] initWithFrame:CGRectMake(5, 165, WIDTH-10, 30)];
    self.typeLaber.font=[UIFont boldSystemFontOfSize:22];
    self.senderLaber.textColor=[UIColor grayColor];
    self.numberLaber.textColor=[UIColor grayColor];
    self.itemLaber.textColor=[UIColor grayColor];
    self.beginLaber.textColor=[UIColor grayColor];
    self.endLaber.textColor=[UIColor grayColor];
    [self addSubview:self.typeLaber];
    [self addSubview:self.senderLaber];
    [self addSubview:self.numberLaber];
    [self addSubview:self.itemLaber];
    [self addSubview:self.beginLaber];
    [self addSubview:self.endLaber];
    
    
    
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
